package cn.oscar.service;

import com.baomidou.mybatisplus.extension.service.IService;
import commonUtils.entities.Restful;
import commonUtils.entities.Voucher;

import java.util.List;

public interface VoucherService extends IService<Voucher> {
    Restful<List<Voucher>> selectAllVoucher();

    Restful<String> addVoucher(Voucher voucher);

    Restful<String> updateVoucher(Voucher voucher);

    Restful<String> deleteVoucherById(Long id);
}
